package client

import (
	"fmt"
	v1 "k8s.io/api/apps/v1"
)


// inform 控制器结构体
type DeployHandler struct {


}


func (this *DeployHandler) OnAdd(obj interface{}) {
	fmt.Println(obj.(*v1.Deployment).Name)
}
func (this *DeployHandler) OnUpdate(obj, newObj interface{}) {
	fmt.Println(obj)

}
func (this *DeployHandler) OnDelete(obj interface{}) {
	fmt.Println(obj)
}

